var Token=((state='',action)=>{
    switch (action.type) {
        case "TOK":
        let res=state    
            res=action.text
            console.log(res)
            return res;
            
    
        default:
          return  state;
    }



})
export default Token